-
Notifications
You must be signed in to change notification settings - Fork 247
Revamp nix flake for nix-tools #2010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Integration with Haskell.nix still to do. |
We should also try to compile some perf metrics. With/without; hot/cold. |
1f563df
to
be4476e
Compare
73320ce
to
15d19ef
Compare
|
You can remove |
Will that be replaced with the derivations to download the static nix-tools? |
I am going to include the required changes in haskell.nix in this PR. |
Am I missing the motivation here? The tarball will still need to be built by haskell.nix, so won't we still have the same build-time work to do? |
@hamishmack The plan would be for haskell.nix optionally download a static build of nix-tools rather that bulding it as part of the bootstrap process. We can then asses whether this helps (e.g. with adding a new version of GHC).
The tarball will still need to be built by haskell.nix that's correct. The difference is that, having its own flake, it can be built separately. I hope this can simplify (and shorten) the bootstrap process. |
This PR revamps the nix-tools flake and adds a binary tarball with static builds (for now only on x86_64-linux).
We already have a Hydra jobset monitoring the nix-tools (sub?)flake, refreshing every hour:
https://ci.zw3rk.com/jobset/input-output-hk-haskell-nix/nix-tools
I did a brief test of Haskell.nix with this branch and it seems ok. Let's see what the main CI says.